package inputparam


type Inputparam struct{
	Keys [1024]bool
	Press [1024]bool
	Mouse_x float32
	Mouse_Y float32
	Delte_mouse_X float32
	Delte_mouse_Y float32
	Scroll_offset float32
	Button1 bool
	Button2 bool
}

func NewInput() *Inputparam {
	return &Inputparam{
		Mouse_x: 0,
		Mouse_Y: 0,
	}
}

func (i *Inputparam) Clear() {
	i.Delte_mouse_X = 0
	i.Delte_mouse_Y = 0
	i.Scroll_offset = 0
	i.Button1 = false
	i.Button2 = false
}